package today.rocky.boot.dubbo.service.impl;

import org.apache.dubbo.config.annotation.Service;
import today.rocky.boot.dubbo.service.ProService;

/**
 * @author Rocky
 * @date 2020/2/24 15:00
 */
@Service(loadbalance = "random",weight = 1)
public class ProServiceImpl implements ProService {
    @Override
    public String sayHello() {
        System.out.println("hello world");
        return "Hello Dubbo 8902";
    }
}
